package com.dk.service;

import com.dk.entity.DtAuctionItem;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dk.entity.DtAuctionOrder;
import com.dk.entity.DtUser;

import javax.mail.MessagingException;
import java.util.List;

/**
 * <p>
 * 拍卖商品表，SKU表 服务类
 * </p>
 *
 * @author author
 * @since 2021-12-20
 */
public interface IDtAuctionItemService  {

    void add(DtAuctionItem item);

    DtAuctionItem selectById(Long id);

    void insertOrder(DtAuctionOrder order);

    DtAuctionOrder selectOrderById(Long id);

    void updateItemStatus(DtAuctionItem item);

    void updateOrder(DtAuctionOrder order);

    DtUser selectUserById(Long i);

    void updateStatus(Long id, String status) throws MessagingException;

    String sellerPay(Long id);

    List<DtAuctionItem> select();

    String userPay(Long id);
}
